package com.coin.exchange.bitfinex.vo;

/**
 * 行情
 * @author duyuchong
 *
 */
public class Ticker {

	/*
	 * (bid + ask) / 2
	 */
	private double mid;
	
	/*
	 * Innermost bid
	 * 出价
	 */
	private double bid;
	
	/*
	 * Innermost ask
	 * 要价
	 */
	private double ask;
	
	/*
	 * The price at which the last order executed
	 * 最近成交价
	 */
	private double lastPrice;
	
	/*
	 * Lowest trade price of the last 24 hours
	 * 最近24小时最低成交价
	 */
	private double low;
	
	/*
	 * Highest trade price of the last 24 hours
	 * 最近24小时最高成交价
	 */
	private double high;
	
	/*
	 * Trading volume of the last 24 hours
	 * 最近24小时交易量
	 */
	private double volume;
	
	/*
	 * The timestamp at which this information was valid
	 */
	private double timestamp;

	public double getMid() {
		return mid;
	}

	public void setMid(double mid) {
		this.mid = mid;
	}

	public double getBid() {
		return bid;
	}

	public void setBid(double bid) {
		this.bid = bid;
	}

	public double getAsk() {
		return ask;
	}

	public void setAsk(double ask) {
		this.ask = ask;
	}

	public double getLastPrice() {
		return lastPrice;
	}

	public void setLastPrice(double lastPrice) {
		this.lastPrice = lastPrice;
	}

	public double getLow() {
		return low;
	}

	public void setLow(double low) {
		this.low = low;
	}

	public double getHigh() {
		return high;
	}

	public void setHigh(double high) {
		this.high = high;
	}

	public double getVolume() {
		return volume;
	}

	public void setVolume(double volume) {
		this.volume = volume;
	}

	public double getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(double timestamp) {
		this.timestamp = timestamp;
	}

}
